<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>用户管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid layui-form" wid100>
  <input type="hidden" name="relationUserId" value="$!{relationUser.id}"/>
  <div class="layui-card">
    <div class="layui-card-header">账号基础信息
      <div style="float: right;">
        <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="updatePwd">修改密码</button>
      </div>
    </div>
    <div class="layui-card-body">
      <div class="layui-row">
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">用户ID</label>
            <div class="layui-form-mid layui-word-aux">$!{relationUser.id}</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">用户姓名</label>
            <div class="layui-form-mid layui-word-aux">$!{relationUser.name}</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">用户手机号</label>
            <div class="layui-form-mid layui-word-aux">$!{relationUser.phone}</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-form-mid layui-word-aux">$!{relationUser.nickname}</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-form-mid layui-word-aux">$!{relationUser.sexName}</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
		<div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">角色</label>
            <div class="layui-form-mid layui-word-aux">$!{roleTypeName}</div>
          </div>
        </div>
		<div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">移除部署权限</label>
			#if($canUndeployDevice == 1)
            <div class="layui-form-mid layui-word-aux">关闭</div>
			#else
			<div class="layui-form-mid layui-word-aux">启用</div>
			#end
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">描述</label>
            <div class="layui-form-mid layui-word-aux">$!{note}</div>
          </div>
        </div>
      </div>
	  <div class="layui-row">
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">关联网点数</label>
            <div class="layui-form-mid layui-word-aux">$!{placeCount}</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">关联设备数</label>
            <div class="layui-form-mid layui-word-aux">$!{deviceCount}</div>
          </div>
      </div>
      <div class="layui-row">
        #if($lastLoginDate)
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">最后登陆</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($lastLoginDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
        #end
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">最后修改</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($updateDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-form-mid layui-word-aux">$!{utils.dateFormat($createDate,'yyyy-MM-dd HH:mm:ss')}</div>
          </div>
        </div>
      </div>
    </div><!-- /.layui-card-body -->
  </div><!-- /.layui-card -->
  <div class="layui-tab layui-tab-card" lay-filter="tab-info">
	<ul class="layui-tab-title">
  		<li class="layui-this">业务配置</li>
    	<li>功能模块</li>
  		<li>关联设备</li>
  		<li>关联网点</li>
    </ul>
    <div class="layui-tab-content" style="padding:0;">
    	  	<div class="layui-tab-item layui-show">
           <div class="layui-card">
              <div class="layui-card-body">
    			<div style="padding-bottom: 10px;">
                  <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="addBusiConfig">新增业务配置</button>
                </div>
                <table id="LAY-table" lay-filter="LAY-table"></table>
              </div>
            </div>
          </div><!--/.layui-tab-item-->
  		<div class="layui-tab-item">
           <div class="layui-card">
              <div class="layui-card-body">
    			<div style="padding-bottom: 10px;">
                  <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="addFuncModel">新增功能模块</button>
                </div>
                <table id="LAY-table-func-model" lay-filter="LAY-table-func-model"></table>
              </div>
            </div>
          </div><!--/.layui-tab-item-->
  		<div class="layui-tab-item">
           <div class="layui-card">
              <div class="layui-card-body">
                <table id="LAY-table-device" lay-filter="LAY-table-device"></table>
              </div>
            </div>
          </div><!--/.layui-tab-item-->
  		<div class="layui-tab-item">
           <div class="layui-card">
              <div class="layui-card-body">
                <table id="LAY-table-place" lay-filter="LAY-table-place"></table>
              </div>
            </div>
          </div><!--/.layui-tab-item-->
        </div>
	</div><!--/.layui-tab -->
</div>
#parse('/footFiles.html')
<script>
layui.config({
  base: '$!{webRoot}/layuiadmin/'
  ,webRoot:'$!{webRoot}'
  ,resDomain:'$!{resDomain}'
}).extend({
  index: 'lib/index'
  ,user_info:'team/user_info'
}).use(['index', 'form', 'user_info'])
</script>
</body>
</html>